﻿@page
@model SendModel
@{
    Layout = "_Modal";
    ViewBag.Title = "发送邮件";
    ViewBag.ClassName = "modal-lg";
}

<form method="post">
    <input type="hidden" asp-for="Input.Id" />
    <div class="form-group">
        <label>邮件地址</label>
        <input class="form-control" asp-for="Input.To" />
        <span class="text-danger" asp-validation-for="Input.To"></span>
    </div>
    <div class="form-group">
        <label>标题</label>
        <input class="form-control" asp-for="Input.Title" />
        <span class="text-danger" asp-validation-for="Input.Title"></span>
    </div>
    <div class="form-group">
        <label>内容</label>
        <gt:markdown style="height: 300px" md-for="Input.Source" html-for="Input.Content"></gt:markdown>
        <span class="text-danger" asp-validation-for="Input.Content"></span>
    </div>
</form>

@section footer
{
    <button type="submit" class="btn btn-primary"><i class="bi-send"></i> 发送</button>
}
